package com.ruoyi.loupan.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.List;

/**
 * 相册对象 tb_album
 * 
 * @author wukaige
 * @date 2021-06-30
 */
public class TbAlbum extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 楼盘ID */
    private Long premisesId;

    /** 图片名称 */
    private String name;

    /** 图片路径 */
    private String url;

    /** 图片类型 */
    private Long albumType;

    /** 图片状态 */
    private Integer status;


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPremisesId(Long premisesId) 
    {
        this.premisesId = premisesId;
    }

    public Long getPremisesId() 
    {
        return premisesId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setAlbumType(Long albumType) 
    {
        this.albumType = albumType;
    }

    public Long getAlbumType() 
    {
        return albumType;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("premisesId", getPremisesId())
            .append("name", getName())
            .append("url", getUrl())
            .append("albumType", getAlbumType())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .toString();
    }
}
